package com.zhs.blog.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.zhs.blog.domain.ResponseResult;
import com.zhs.blog.domain.entity.User;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: UserService
 * @Descripiton: TODO
 * @Author: 小郑
 * @Date： 2025/5/10 20:31
 * @Version：1.8
 **/

public interface UserService extends IService<User> {

    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult selectUserPage(User user, Integer pageNum, Integer pageSize);

    boolean checkUserNameUnique(String userName);

    boolean checkPhoneUnique(User user);

    boolean checkEmailUnique(User user);

    ResponseResult addUser(User user);

    void updateUser(User user);
}

